package com.qimo.zuoyeoa.dao;

import com.qimo.zuoyeoa.entity.Schedule;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ScheduleMapper {


    List<Schedule> selectAll();

    int insert(Schedule schedule);

    int deleteById(int id);

    List<Schedule> selectByCondition(Schedule condition);

    List<Schedule> selectByIds(List<Integer> ids);

    int updateById(Schedule schedule);

    List<Schedule> selectPage(@Param("start") int start,@Param("size") int size);

    List<Schedule> selectByKeyword(String keyword);

    Schedule selectById (int id);
}
